package com.yangyouli.unity_demo_server.entity;

public class UserData {
	private int id;
	private int userId;
	private String headImgName;
	private int exp;
	private int level;
	private int money;
	private String backup1;
	private String backup2;
	private String backup3;
	
	public UserData() {}

	public UserData(int id, int userId, String headImgName, int exp, int level, int money) {
		super();
		this.id = id;
		this.userId = userId;
		this.headImgName = headImgName;
		this.exp = exp;
		this.level = level;
		this.money = money;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getHeadImgName() {
		return headImgName;
	}

	public void setHeadImgName(String headImgName) {
		this.headImgName = headImgName;
	}

	public int getExp() {
		return exp;
	}

	public void setExp(int exp) {
		this.exp = exp;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public String getBackup1() {
		return backup1;
	}

	public void setBackup1(String backup1) {
		this.backup1 = backup1;
	}

	public String getBackup2() {
		return backup2;
	}

	public void setBackup2(String backup2) {
		this.backup2 = backup2;
	}

	public String getBackup3() {
		return backup3;
	}

	public void setBackup3(String backup3) {
		this.backup3 = backup3;
	}

	@Override
	public String toString() {
		return "UserData [id=" + id + ", userId=" + userId + ", headImgName=" + headImgName + ", exp=" + exp
				+ ", level=" + level + ", money=" + money + "]";
	}
}
